<?php
/**
 * Created by PhpStorm.
 * User: iyahe@qq.com (天明)
 * Date: 2016/12/1
 * Time: 9:40
 */



Header('Content-type: application/json');
Header("Access-Control-Allow-Origin:*");
Header("Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE");

echo json_encode(['hello'=>1223,'name'=>666]);